package top.serms.kamacoder;

import java.util.Scanner;


/**
 * @Author: SerMs
 * @Date: 2023/10/18 15 30
 * @Email: 1839928782@qq.com
 * @Blog: https://serms.top
 **/
public class Code01 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        StringBuilder output = new StringBuilder();

        while (scanner.hasNextLine()) {
            // 一次读取一行，减少内存消耗，通过正则分割
            String[] input = scanner.nextLine().split(" ");
            int a = Integer.parseInt(input[0]);
            int b = Integer.parseInt(input[1]);
            int sum = a + b;
            output.append(sum).append("\n");
        }

        System.out.print(output);
        scanner.close();
    }

}
